#!/usr/bin/perl -w

####################################################
# Copyright (c) 2002-2007 BioWare Corp.
# http://www.bigdaddymonitor.org
#
# This file is part of the BigDaddy Monitoring
# program. It is free software distributed under
# the terms of the BSD License. It is ditributed
# in the hopes that it will be useful, but
# WITHOUT ANY WARRANTY; without event the implied
# warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
#
# The BSD License is available from:
# http://www.opensource.org/licenses/bsd-license.php
####################################################

use strict;
use LWP::Simple;

my ($cronID) = @ARGV;
	
my $api_url = "http://bigdaddy/api";

my $url = $api_url."?page=SetCronEnd&cronID=".$cronID;
my $content = get $url;
die "Couldn't get $url" unless defined $content;

